package org.ch00.test07;

import java.util.Random;

/*
 *
 *@author XCH
 *@date 2025 - 03 - 07 - 10:00
 *
 */
public class Red extends Thread{
    public void run(){
        Random random = new Random();
        int randomNumber = (int) (Math.random() * 256);
        System.out.println("红色："+randomNumber);
    }
}
